package top.hzy520.order.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 15:07 2018/6/10
 */
@FeignClient(name = "key-generator",fallback =KeyGeneratorFallBack.class )
public interface KeyGeneratorServiceClient {

    @RequestMapping("/keyGenerator")
    String keyGenerator();
}
